/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #63656e;
  background-color: #f5f6fa;
}

/* 布局容器 */
.app-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 侧边栏样式 */
.sidebar {
  width: 240px;
  background-color: #182132;
  color: #96a2b9;
  transition: all 0.3s;
}

.sidebar .el-menu {
  border-right: none;
  background-color: transparent;
}

.sidebar .el-menu-item {
  height: 50px;
  line-height: 50px;
  color: #96a2b9;
}

.sidebar .el-menu-item:hover,
.sidebar .el-menu-item.is-active {
  color: #fff;
  background-color: #0f1a2d;
}

.sidebar .el-menu-item i {
  color: #96a2b9;
  margin-right: 10px;
}

.sidebar .el-menu-item:hover i,
.sidebar .el-menu-item.is-active i {
  color: #fff;
}

/* 头部样式 */
.header {
  height: 60px;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.header .logo {
  font-size: 20px;
  font-weight: bold;
  color: #182132;
  margin-right: 40px;
}

.header .el-menu {
  background-color: transparent;
  border-bottom: none;
}

.header .el-menu-item {
  height: 60px;
  line-height: 60px;
  color: #63656e;
}

.header .el-menu-item:hover,
.header .el-menu-item.is-active {
  color: #3a84ff;
}

/* 主内容区域 */
.main-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

/* 卡片样式 */
.el-card {
  border-radius: 2px;
  border: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.el-card__header {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f1f5;
  font-size: 16px;
  font-weight: bold;
  color: #182132;
}

/* 表格样式 */
.el-table {
  border: none;
}

.el-table th {
  background-color: #fafbfd;
  color: #63656e;
  font-weight: normal;
  border-bottom: 1px solid #f0f1f5;
}

.el-table td {
  border-bottom: 1px solid #f0f1f5;
}

/* 按钮样式 */
.el-button--primary {
  background-color: #3a84ff;
  border-color: #3a84ff;
}

.el-button--primary:hover,
.el-button--primary:focus {
  background-color: #66b1ff;
  border-color: #66b1ff;
}

.el-button--text {
  color: #3a84ff;
}

.el-button--text:hover {
  color: #66b1ff;
}

/* 表单样式 */
.el-form-item__label {
  color: #63656e;
}

.el-input__inner {
  border-color: #dcdfe6;
}

.el-input__inner:focus {
  border-color: #3a84ff;
}

/* 对话框样式 */
.el-dialog {
  border-radius: 2px;
}

.el-dialog__header {
  padding: 20px;
  border-bottom: 1px solid #f0f1f5;
}

.el-dialog__title {
  font-size: 16px;
  font-weight: bold;
  color: #182132;
}

/* 标签样式 */
.el-tag {
  border-radius: 2px;
  border: none;
  padding: 0 8px;
  height: 22px;
  line-height: 20px;
}

.el-tag--success {
  background-color: #e4f7e8;
  color: #2dcb56;
}

.el-tag--warning {
  background-color: #fff3e6;
  color: #ff9c01;
}

.el-tag--danger {
  background-color: #ffe6e6;
  color: #ea3636;
}

/* 统计卡片 */
.statistic-card {
  background-color: #fff;
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 20px;
}

.statistic-card .title {
  font-size: 14px;
  color: #63656e;
  margin-bottom: 10px;
}

.statistic-card .value {
  font-size: 24px;
  font-weight: bold;
  color: #182132;
}

/* 时间线样式 */
.timeline-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f1f5;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item .time {
  color: #979ba5;
  font-size: 12px;
}

.timeline-item .content {
  color: #63656e;
  margin-top: 5px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .sidebar {
    width: 64px;
  }
  
  .sidebar .el-menu-item span {
    display: none;
  }
  
  .main-content {
    padding: 10px;
  }
  
  .el-card {
    margin-bottom: 10px;
  }
} 